package com.shenhaofeng.demo;

import com.shenhaofeng.app.adapter.ModuleAdapter;
import com.shenhaofeng.demo.activity.BannerActivity;
import com.shenhaofeng.demo.activity.ConnectChangeActivity;
import com.shenhaofeng.demo.activity.ImageSourceActivity;
import com.shenhaofeng.demo.activity.ListActivity;
import com.shenhaofeng.demo.activity.TaskDialogActivity;


/**
 * Created by haofeng on 2016/9/26.
 */

public class MainActivity extends IntentItemActivity {


    @Override
    protected void setIntentItems(ModuleAdapter.Module<IntentItem> module) {
        module.addItem(new IntentItem("任务弹窗", "各种封装了请求的弹窗", TaskDialogActivity.class));
        module.addItem(new IntentItem("打开相机相册以及权限的请求", "封装了相机相册的请求源和处理源，权限请求请查看Android-Permissions库", ImageSourceActivity.class));
        module.addItem(new IntentItem("banner", "banner，权限请求请查看Android-Permissions库", BannerActivity.class));
        module.addItem(new IntentItem("md", "md", MdActivity.class));
        module.addItem(new IntentItem("list", "list", ListActivity.class));
        module.addItem(new IntentItem("网络变化监听", "网络变化监听", ConnectChangeActivity.class));
    }
}
